//
//  NewsTableViewCell.m
//  Code
//
//  Created by apple on 2017/10/28.
//  Copyright © 2017年 HD. All rights reserved.
//

#import "NewsTableViewCell.h"

@implementation NewsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}



-(void)setModel:(newsModel *)model {
    
    _model = model;
    
    
    //给cell里每个子控件赋值
    _newsTitle.text = model.title;
    _newsTime.text = model.addtime;
    
    
   
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
